home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Scope / Scope Disk #048 (199x)(Scope PD)(US)[WB].zip / Scope Disk #048 (199x)(Scope PD)(US)[WB].adf / EasyMenu / POSTER < prev    next >
Text File  |  1989-01-11  |  720b  |  18 lines

  1. Article 27485 of 27509, Thu 20:50.
  2. Subject: Re: S/W Installation methodology
  3. Summary: Here's a solution to the menu problem.
  4. From: peter@sugar.uu.net (Peter da Silva)
  5. Path: mcnc!gatech!ncar!tank!uxc!csd4.milw.wisc.edu!leah!itsgw!steinmetz!uunet!nuchat!sugar!peter
  6. Organization: Sugar Land Unix - Houston, TX
  7. Newsgroups: comp.sys.amiga
  8. Date: 6 Jan 89 01:50:12 GMT
  9.  
  10. Here's a quick-and-dirty menu routine, taken from Browser. I use it like so:
  11.  
  12.         open_id = add_menu("Browser", "Open", 0, 0);
  13.         close_id = add_menu("Browser", "Close", 0, 0);
  14.         quit_id = add_menu("Browser", "Quit", 0, 0);
  15.  
  16. You can't delete menu items, or do any number of related manipulations. But
  17. for simple jobs it's easy as 3.14159...
  18.